

def html_left_title(text, label='p'):
    return f"""<div style="text-align: left; margin: 0; padding: 0;">
                <{label} style="margin: 0; padding: 0;">{text}</{label}>
                </div>"""


def html_all_center_title(text, label='p'):
    return f"""<div style="display: flex; justify-content: center; align-items: center; min-height: 5px; padding: 5px;">
                <{label} style="margin: 0; padding: 0;">{text}</{label}>
               </div>"""


def html_left_text(text, size):
    return f"""
            <div style='text-align: left; font-size: {size}px; margin-left: 5px; padding: 5px;'>
            {text}
            </div>
            """
